@import "~ant-design-vue/es/style/themes/default.less";

// 覆盖 lay-out 组件的 24px margin 处理
.ant-layout-content, .ant-pro-basicLayout-content {
  margin: 12px !important;
}
.ant-pro-page-header-wrap{
  margin: 0 !important;
  padding: 0 !important;
}
.ant-page-header {
  padding: 5px 10px !important;
}
.ant-layout-footer {
  padding: 0 !important;
}
.ant-pro-global-header-index-right {
  margin-right: 8px;

  &.ant-pro-global-header-index-dark {
    .ant-pro-global-header-index-action {
      color: hsla(0, 0%, 100%, .85);

      &:hover {
        background: #1890ff;
      }
    }
  }

  .ant-pro-account-avatar {
    .antd-pro-global-header-index-avatar {
      margin: ~'calc((@{layout-header-height} - 24px) / 2)' 0;
      margin-right: 8px;
      color: @primary-color;
      vertical-align: top;
      background: rgba(255, 255, 255, 0.85);
    }
  }

  .menu {
    .anticon {
      margin-right: 8px;
    }

    .ant-dropdown-menu-item {
      min-width: 100px;
    }
  }
}

